﻿using MediatR;
using Traceability.App.API.DTOS;
using Traceability.App.ErrorCode;

namespace Traceability.App.API.Application.Command.Basic
{
    /// <summary>
    /// 获取溯源基本数据请求命令
    /// </summary>
    public class GetBasic_TraceabilityCommand:IRequest<ApiPaging<BasicDTO>>
    {
        /// <summary>
        /// 当前页
        /// </summary>
        public int pageindex {  get; set; }
        /// <summary>
        /// 页容量
        /// </summary>
        public int pagesize {  get; set; }

        /// <summary>
        /// 商品名称
        /// </summary>
        public string? goodsName { get; set; }
        /// <summary>
        /// 生产批次
        /// </summary>
        public string? production_Batch { get; set; }
        /// <summary>
        /// 保质期
        /// </summary>
        public int? quality_Guarantee { get; set; }
        /// <summary>
        /// 生产许可证
        /// </summary>
        public string? production_License { get; set; }
        /// <summary>
        /// 生产企业
        /// </summary>
        public string? manufacturing_Enterprise { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? createTime { get; set; }
        /// <summary>
        /// 创建人
        /// </summary>
        public string? creator { get; set; }
        /// <summary>
        /// 修改时间
        /// </summary>
        public DateTime? updateTime { get; set; }
        /// <summary>
        /// 修改人
        /// </summary>
        public string? reviser { get; set; }

    }
}
